package com.hyh.bean;

import java.util.Date;

/**
 * @author hasee
 *映射原则：属性名和数据库字段名保持一致【dbutils中不区别大小写】
 *约定：表单的name属性值和数据库的字段名保持一致【大小写敏感】
 *
 */

public class AdminInfoBean {
    private Integer admin_id;
    private String  admin_name;
    private String admin_psw;
    private String admin_p_address;
//    private String admintel;
//    private Date regDate;
    
    
    
    
    ///get set 方法
    
	public Integer getAdmin_id() {
		return admin_id;
	}

	public void setAdmin_id(Integer adminid) {
		this.admin_id = adminid;
	}
	public String getAdmin_name() {
		return admin_name;
	}
	public void setAdmin_name(String adminname) {
		this.admin_name = adminname;
	}
	public String getAdmin_psw() {
		return admin_psw;
	}
	public void setAdmin_psw(String adminpsw) {
		this.admin_psw = adminpsw;
	}
	public String getAdmin_p_address() {
		return admin_p_address;
	}
	public void setAdmin_p_address(String adminaddress) {
		this.admin_p_address = adminaddress;
	}
	
	///
	@Override
	public String toString() {
		return "AdminInfoBean [管理员编号:" + admin_id + ", 管理员:" + admin_name + ", 管理员密码:" + admin_psw
				+ ", 头像地址:" + admin_p_address  + "]";
	}
	
	
    
    
}
